package com.yuejian_06.yuejian_06.service;

import com.yuejian_06.yuejian_06.bean.AnswerBean;
import com.yuejian_06.yuejian_06.bean.CoachBean;
import com.yuejian_06.yuejian_06.bean.CoachVideoBean;
import com.yuejian_06.yuejian_06.bean.SuccessBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by __ZL__ on 2017/9/28.
 */

public interface CoachService {

    //大师列表
    @GET("coachList")
    Call<List<CoachBean>> coachList();
    //大师视频列表
    @GET("getcoachV")
    Call<List<CoachVideoBean>> getcoachV(
            @Query("coach_id") String coach_id);
    //大师问答列表
    @GET("getAnswer")
    Call<List<AnswerBean>> getAnswer(
            @Query("coach_id") String coach_id);
    //提交问题
    @GET("pushAsk")
    Call<SuccessBean> pushAsk(
            @Query("user_id") String user_id,
            @Query("coach_id") String coach_id,
            @Query("ask") String ask);


}
